
#include "globalSetting.h"

globalSetting::globalSetting()
{
    this->_geomUnit = geomUnitType::m;
    this->_angleUnit = angleUnitType::deg;
}

geomUnitType globalSetting::getGeomUnit()
{
    return this->_geomUnit;
}

angleUnitType globalSetting::getAngleUnit()
{
    return this->_angleUnit;
}

int globalSetting::getDebugLevel()
{
    return this->_debugLevel;
}

void globalSetting::setGeomUnit(const geomUnitType &type)
{
    this->_geomUnit = type;
}

void globalSetting::setAngleUnit(const angleUnitType &type)
{
    this->_angleUnit = type;
}

void globalSetting::setDebugLevel(const int &level)
{
    this->_debugLevel = level;
}
